package com.qf.application.service;

import com.qf.application.entity.Menu;
import com.qf.application.entity.User;
import com.qf.application.entity.UserRoleVo;
import com.qf.application.vo.RoleMenuVo;

import java.util.List;
import java.util.Set;

public interface IAllotService {

    List<Integer> getMenuIdListByRoleId(Integer roleId);

    Boolean roleAddMenu(RoleMenuVo roleMenuVo);

    List<User> getUserByRoleId(Integer roleId);

    Boolean userAddRole(UserRoleVo roleVo);

    void removeUserRole(Integer roleId, Integer userId);

    Set<String> getUserUrl(Integer userId);
}
